echo  copy config file ... 
copy src\main\dev\dev\js\*.* ..\brisling-sysman\src\main\dev\dev\js
copy src\main\dev\tools\duties.conf ..\brisling-sysman\src\main\dev\tools

echo copy module js file ...
copy src\main\dev\dev\js\app\duties\*.* ..\brisling-sysman\src\main\dev\dev\js\app\duties

echo build modul package js file ...
cd ..\brisling-sysman\src\main\dev
node tools\r.js -o tools\duties.conf

echo copy packaged js file back ... 
copy ..\webapp\js\*.* ..\..\..\..\brisling-duties\src\main\webapp\js